package com.xiaodao.cglibtest;

import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.lang.reflect.TypeVariable;

/**
 * Created by xiaodao
 * date: 2019/12/24
 */
public class TestInner {

	public void test(){
		SyntheicTest test =  new SyntheicTest();
		System.out.println(test.i);

	}

	class SyntheicTest{
		private int  i;

		private SyntheicTest(){

		}
	}

	public static void main(String[] args) {
		int i =0;
		for (Constructor<?> declaredConstructor : SyntheicTest.class.getDeclaredConstructors()) {
			for (Parameter parameter : declaredConstructor.getParameters()) {
				System.out.println("--"+i);
				System.out.println(parameter.getType());
			}
			i++;
		}
	}
}
